home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #6
/
Amiga Plus CD - 2004 - No. 06.iso
/
AmiSoft
/
Util
/
libs
/
ttengine.readme.txt
< prev
Wrap
Text File
|
1978-04-17
|
4KB
|
86 lines
Short: TrueType text rendering engine (v 6.6)
Author: krashan@teleinfo.pb.bialystok.pl
Uploader: krashan@teleinfo.pb.bialystok.pl
Type: util/libs
Distribution: public domain
version: 6.6 (4.5.2004)
requires: OS 3.0+, 68020 or MorphOS 1.3
The library is fast, AmigaOS friendly TrueType render engine. It has
nothing to do with Amiga outline font system. This system has a lot of
limitations which make it useless for high speed and quality text
output. If someone wants an integration of TrueType with AmigaOS
bullet.library like outline font system, should consider using
ttf.library. Ttengine.library opens TrueType font by itself and renders
high quality glyphs directly into any RastPort.
The render engine of the library is based on FreeType2 project
(http://www.freetype.org). This version of ttrender.library uses 2.1.3
FreeType build.
See http://amiga.pl/ttengine for news, downloads, online autodoc and
programming tutorial.
CHANGES (last three versions)
v 6.4 (18.3.2003)
- mathieeesingtrans.library was opened in too high 38 version, while
Workbench 3.1 contains v37 one. Fixed.
- Library base semaphore was initialized too late in initialization code. It
could result in obtaining uninitialized semaphore and Enforcer hits. Fixed.
- If initialization of TTEngine failed, function freeing resources was called
two times producing "memory freed twice" alerts and Enforcer hits. Fixed.
All the above bugs have been reported by and fixed with help of Halvadjian
Georges.
v 6.5 (10.12.2003)
- Automatic italic font generation now works even when an application does
not use the font database, but opens the fon directly using TT_FontFile
tag. In the case specifying TT_FontStyle_Italic will shear the font
regadless its design style. Feature suggested by Andreas Falkenhahn.
- MorphOS native PPC version included to the distribution.
v 6.6 (4.5.2004)
- Bugfix: COMPLEMENT draw mode with antialiased fonts no more leaves trashes
when done twice at the same place. It allows for using COMPLEMENT mode as
an easy way to make moving text brushes. Works as well combined with
INVERSVID and transparency. Bug reported by Marcin Kwiatkowski.
- Bugfix: Missing render mode initialization in TT_TextExtent(). Glyph
bitmaps were not cached if TT_TextExtent() was called before any
TT_Text() or TT_TextLegnth() on this rastport. It caused significant
slowdown of TT_TextExtent(). Bug reported by Darius Brewka.
- Bugfix: If temporary RastPort was used with NULL BitMap, this NULL pointer
was passed to GetCyberMapAttr(). It might lead to Enforcer read hits. Now
if RastPort's BitMap is NULL, antialiased render mode is assumed and
GetCyberMapAttr() is not called.
- Fixed "DetachedRastPort" example code to work on RGB screens. Color 1 in
colormap of a window opened on Workbench is usually black. Rendering black
text on black (BMF_CLEAR) bitmap usually results just in black window
contents... Changed text color to 2 (usually white). Why it worked on
planar or LUT bitmaps? Clearing such bitmap does not clear to black but to
background color (gray on most setups).
FEATURES
The library expands FreeType functionality making usage of TrueType
fonts easy and comfortable. Below you can find key features:
- renders whole strings (not single glyphs) with kerning.
- antialiasing to any (not neccesarily uniform color) background.
- user adjustable gamma correction.
- optional text transparency.
- system compatible output to any (including planar) RastPort.
- supports JAM1. JAM2, INVERSVID, COMPLEMENT RastPort modes.
- supports 8-bit to Unicode mapping with "ENV:ttfcodepage" table
compatible with ttf.library.
- allows for direct 16/32-bit Unicode string rendering.
- supports ISO-8859 and UTF-8 text encodings.
- easy to use, graphics.library like API.
- efficient system-wide glyph cache system.
- font database system allows flexible font files storage and
advanced faces classification.